<%--
  Created by IntelliJ IDEA.
  User: shen
  Date: 2020/3/28
  Time: 13:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>提交反馈</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">

    <link rel="stylesheet" type="text/css" href="js/easyui/themes/default/easyui.css">

    <script type="text/javascript" src="js/jquery-2.0.0.js"></script>
    <script type="text/javascript" src="js/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="js/easyui/easyui.dateformat.js"></script>
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <%@include file="../common_resource.jsp" %>
    <style>
        .main_body{
            font-size: 15px;
        }
    </style>
</head>
<body class="main_body">
<div class="container container-1180" >
    <div class="col" style="margin-top: 10px;">
        <div class="panel panel-info" >
            <div class="panel-heading">
                <span ><i class="fa fa-user"></i></span> <label><font style="font-weight: bold;margin-left: 10px;font-size: 17px">提&nbsp;交&nbsp;反&nbsp;馈</font></label>
                <label style="float: right;">
                    <div class="button_bar">
                        <button class="btn btn-info btn-sm" onclick="to();">查询反馈</button>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </div>
                </label>
            </div>

            <div style="margin-top: 20px">
                <form id="FeedbackForm" action="feedback/insertFeedback/${loginUser.sstsUserID}" method="post" style="margin-left: 50px">
                    <!-- 添加操作标识 -->
                    <s:hidden name="flag" value="1"></s:hidden>

                    <div style="clear:both;border: 0px solid red;margin-left:145px;">
                        <table cellpadding="0" cellspacing="0" border="0px"><!-- style="margin-left:150px;" width="583px;" -->
                            <tr>
                                <th align="left"><font color="red"><b>*&nbsp;</b></font><strong>反馈标题：</strong></th>
                            </tr>
                            <tr>
                                <td><textarea name="feedbackTitle" cols="113" rows="3" class="easyui-validatebox form-control"  required="true" style="width: 500px" placeholder="请输入反馈标题......"></textarea></td>
                            </tr>
                            <tr>
                                <th align="left"><br/><font color="red"><b>*&nbsp;</b></font><strong>反馈内容：</strong></th>
                            </tr>
                            <tr>
                                <td><textarea name="feedbackContent" cols="113" rows="5" class="easyui-validatebox form-control"  required="true" style="width: 500px" placeholder="请输入反馈内容......"></textarea></td>
                            </tr>
                            <tr style="height: 50px;">
                                <td align="center">
                                    <input type="submit" value="提交" class="btn btn-info" />&nbsp;&nbsp;&nbsp;&nbsp;
                                    <input type="reset" value="重置" class="btn btn-warning" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>


<script src="bootstrap/js/bootstrap.min.js"></script>

<!-- 添加成功模态 -->
<div class="modal fade" id="insertSuccessModal" tabindex="-1" role="dialog"
     aria-labelledby="insertSuccessModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×
                </button>
                <h2 class="modal-title" id="myModal1">
                    <i class="fa fa-twitch"></i> &nbsp;&nbsp;提示
                </h2>
            </div>
            <div class="modal-body" style="text-align:center;">
                <h3>反馈提交成功</h3>
            </div>
            <div class="modal-footer">
                <button id="closeModal" type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!-- 添加失败模态 -->
<div class="modal fade" id="insertFailModal" tabindex="-1" role="dialog"
     aria-labelledby="insertFailModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×
                </button>
                <h2 class="modal-title" id="myModal2">
                    <i class="fa fa-twitch"></i> &nbsp;&nbsp;提示
                </h2>
            </div>
            <div class="modal-body" style="text-align:center;">
                <h3>反馈提交失败</h3>
            </div>
            <div class="modal-footer">
                <button  type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</body>
</html>
<c:remove var="insertSQuestion" scope="session"/>

